import request from '@/router/axios';

export const getMessageList = (current, size, params) => {
  return request({
    url: '/api/beetles-business/message/list',
    method: 'post',
    data: {
      ...params,
      current,
      size,
    }
  })
}

export const getMessageHintList = (current, size, params) => {
  return request({
    url: '/api/beetles-business/message/hint-list',
    method: 'post',
    data: {
      ...params,
      current,
      size,
    }
  })
}
export const setMessageRead = (id) => {
  return request({
    url: '/api/beetles-business/message/read',
    method: 'post',
    data: {
      id
    }
  })
}
